package cn.csc.module.product.convert.attrcategory;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.product.controller.admin.attrcategory.vo.*;
import cn.csc.module.product.dal.dataobject.attrcategory.AttrCategoryDO;

/**
 * 属性与分类关联信息 Convert
 *
 * @author liuchuang
 */
@Mapper
public interface AttrCategoryConvert {

    AttrCategoryConvert INSTANCE = Mappers.getMapper(AttrCategoryConvert.class);

    AttrCategoryDO convert(AttrCategoryCreateReqVO bean);

    AttrCategoryDO convert(AttrCategoryUpdateReqVO bean);

    AttrCategoryRespVO convert(AttrCategoryDO bean);

    List<AttrCategoryRespVO> convertList(List<AttrCategoryDO> list);

    PageResult<AttrCategoryRespVO> convertPage(PageResult<AttrCategoryDO> page);

    List<AttrCategoryExcelVO> convertList02(List<AttrCategoryDO> list);

}
